package com.wanxi.dangdang.model.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;
import java.util.Date;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/6 0006
 * @Version: 1.0
 */
@Data
@ApiModel(value = "com.wanxi.dangdang.model.pojo.CUser", description = "C端用户pojo")
public class CUser{
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "昵称")
    private String username;
    @ApiModelProperty(value = "真实姓名")
    private String realName;
    @ApiModelProperty(value = "电话号码")
    private String phone;
    @ApiModelProperty(value = "头像图片")
    private String picture;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "创建时间")
    private Date create_time;
    @ApiModelProperty(value = "更新时间")
    private Date update_time;
    @ApiModelProperty(value = "状态：0未删除，1删除")
    private Integer delete_status;
}
